home *** CD-ROM | disk | FTP | other *** search
- Subject: Stack crash when creating stationery
- Sent: 6/27/96 5:57 PM
- Received: 6/27/96 6:11 PM
- From: The3Furies@aol.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- I am crashing when I try to create stationery from my part, and the debug
- message isn't helping a whole lot. From the best I can tell, this crash
- is happening in or around the code fragment manager, and happens after the
- part has been created and destroyed by OD. The stack seems to be blowing
- out. If I shut down the Stationary Seed at the crash point, a non-stationery
- document with the proper name is left in the Stationery folder.
-
- The truly bizzare thing is that it only happens if I instatiate an object
- that I just added. It is a pretty simple object, and the constructor &
- destructor don't do much of anything (no allocation...). At first, I
- was doing a 'new CMyObject' in the Initialize function of the part,
- then I moved it to the constructor of the Content, then I tried making
- the object auto-destruct and using FW_NEW. Then I tried making it a
- class member of the content to avoid the new. None of these helped.
-
- The only other though I have is that this object will cause a lot of
- additional code to be linked into the part.
-
- I have included the debug message and the stack dump at the crash point
- in hopes that someone may have seen this before and be able to give me
- a hint of how to track this problem down. I'm guessing it has little
- to do with my actual new object, and is something deeper down.
-
- Chris
-
- Debugger mesage:
- -----------------
- gExceptionData->fStackTop @ PC =40A28B6C
-
- (If I continue, i get gExceptionData->fStackBottom @ ...., then it alterates)
-
- Stack Dump:
- -----------------
-
- --at ADDR--Name-------------------Calls--------------- Frame-Addr--Size
- =40A28B6C bytes in use = $3F82
- =40A28B68 .debugstr .Debugger 26547D0 40
- =02306A78 .FW_PrivDebugMessage .debugstr 2654910 40
- =022A272C c@022A272C c@022BC880 2654950 40
- =0229CDD0 c@0229CDD0 c@022A26C4 2654AA0 150
- =0224D3E4 c@0224D3E4 c@022BE1A0 2654AF0 150
- =02258480 c@02258480 c@0224D3B8 2654B30 40
- =022580C8 c@022580C8 c@02258474 2654B70 40
- =000A9D20 proc74 __ptrGlue 2654BB0 40
- =000A8894 proc64 proc74 2654C30 80
- =000A7C7C proc56 - - - - - - - 2654C80 80
- =000A4C24 .FragRelease proc56 2654CE0 80
- =000B17A0 .CloseConnection .FragRelease 2654D30 50
- =0243E51C c@0243E51C c@0243EA08 2654D80 50
- =02431A70 c@02431A70 c@0243E4AC 2654DD0 50
- =0243A5C0 c@0243A5C0 c@0243ED98 2654E10 50
- =0243AA58 c@0243AA58 c@0243A4F8 2654E50 40
- =0243D064 c@0243D064 c@0243ED98 2654E90 40
- =0243D190 c@0243D190 c@0243ED98 2654EE0 40
- =02512650 c@02512650 c@02536338 2654F30 40
- =024CF1BC c@024CF1BC c@02536338 26550B0 40
- =02439360 c@02439360 c@0243ED98 2655230 40
- =02430AB8 c@02430AB8 - - - - - - - 2655290 40
- =024390F8 c@024390F8 c@02430A80 2655350 40
- =02439210 c@02439210 c@02439098 2655390 40
- =0243D16C c@0243D16C c@024391D8 26553E0 50
- =02511BD0 c@02511BD0 c@02536338 2655430 50
- =0252DB24 c@0252DB24 c@02536338 2655840 50
- =0250F1EC c@0250F1EC c@02536338 26559C0 50
- =0252FA6C c@0252FA6C c@02536338 2655B40 50
- =0250C978 c@0250C978 c@02536338 2655CC0 50
- =0250F804 c@0250F804 c@02536338 2655E50 50
- =0244B45C c@0244B45C c@02536338 2655FD0 50
- =0244AE1C c@0244AE1C c@0244B408 2656020 50
- =0245BAC4 c@0245BAC4 c@0244ADEC 2656060 40
- =024A2E00 c@024A2E00 c@0245B824 2656220 1C0
- =0249C684 c@0249C684 c@024A2C68 2656B00 8E0
- =024A6F6C c@024A6F6C c@02534B98 2656ED0 8E0
- =0245650C c@0245650C c@02536338 2657190 8E0
- =024B2344 c@024B2344 c@02536338 2657310 8E0
- =024B264C c@024B264C c@02536338 2657720 8E0
- =024B10F0 c@024B10F0 c@02536338 26577A0 8E0
- =024B186C c@024B186C c@02536338 2657AB0 8E0
- =000B35E4 68k -> PPC_Switch - - - - - - - 2657B00 8E0
- =0022C5D6 c@0022C5D6 - - - - - - - 2657B72
- =0022C610 c@0022C610 c@0022C520 2657BAC 28
- =0022CC22 c@0022CC22 - - - - - - - 2657BE6
- =0022A790 c@0022A790 c@0022B78E 2657C1E 62
- =0022CB08 c@0022CB08 c@0022CB6E 2657C4C 54
- =024A062A c@024A062A _qd_BMain9 2657C84
- =40A06FAC .AEProcessAppleEvent .CallUniversalProc_GL_ 2657E90
- =024B3504 c@024B3504 c@025353A8 2657ED0
- =0249D1C8 c@0249D1C8 c@02536338 2657F10
- =0249FDA0 c@0249FDA0 c@0249D0FC 2657F70 60
- =0249F46C c@0249F46C c@0249FC44 26580F0 180
- =024A09DC c@024A09DC c@0249F2A4 26583C0 2D0
- =0254DFDC c@0254DFDC c@0254E4B4 2658540 2D0
- =0254E04C c@0254E04C c@0254DFD0 2658580 40
- =000B35E4 68k -> PPC_Switch - - - - - - - 26585C0 40
- =00041F72 'scod BFB1 011C'+04552 - - - - - - - 265862E
- =0026CCC4 c@0026CCC4 _GetProcessInformation 2658660
- =000FAA0E c@000FAA0E _GrafDevice 265869E
- =0026C486 c@0026C486 c@0026D07E 26586C2 D0
- =0016797C rd@0016797C _MixedModeMagic 2658706
- =0026BD0C c@0026BD0C _SetPort 265870A
- =0026BDB0 c@0026BDB0 c@0026BD04 2658726 14
- =0026BDB0 c@0026BDB0 c@0026BD04 265872E 14
- =0004C24A 'scod BFB1 011C'+0E82A _InitApplication 2658732 22
-
-
- ========================================================================
- Chris Colapietro email: the3furies@aol.com
- President
- The 3 Furies Software, Inc. voice: (804) 698-6859
- ========================================================================
-